home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / kupidon-strike.swf / scripts / frame_168 / PlaceObject2_277_2401 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2011-12-21  |  692 b   |  30 lines

  1. onClipEvent(load){
  2.    function rem()
  3.    {
  4.       _root.bobo(_X,_Y);
  5.       _root.boom(_X,_Y,colour);
  6.       this._visible = false;
  7.       this.active = false;
  8.       _root.hearts_beat = _root.hearts_beat + 1;
  9.       _root.level_score += 10;
  10.       i = 0;
  11.       while(i < _root.stage_objects.length)
  12.       {
  13.          if(_root.stage_objects[i] == this._name)
  14.          {
  15.             _root.todel_objects.push[i];
  16.          }
  17.          i++;
  18.       }
  19.    }
  20.    move_x = _X;
  21.    move_y = _Y;
  22.    move_direction = 1;
  23.    c_path = move_path;
  24.    tp = "heart-bobo";
  25.    active = true;
  26.    colour = "white";
  27.    _root.stage_objects.push(this._name);
  28.    _root.level_objects.push(this._name);
  29. }
  30.